﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuanLyNhaHang
{
    public partial class InPhieuXuat : Form
    {
        public DataTable SourceRP;
        public string tongsotien;
        public InPhieuXuat()
        {
            InitializeComponent();
        }
       
        private void InPhieuXuat_Load(object sender, EventArgs e)
        {
            SourceRP.TableName = "ChiTietPhieuXuat";
            RPinPhieuXuat obj = new RPinPhieuXuat();
            obj.SetDataSource(SourceRP);
            obj.SetParameterValue("tongtien", tongsotien);
            crystalReportViewer1.ReportSource = obj;
        }
    }
}
